home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Auge 4000 / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).zip / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).adf / arp-pro1.3 / OLD_MANUAL / AddDANode < prev    next >
Text File  |  1990-06-22  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4.      AddDANode(31.0)      ARP Programmers Manual       AddDANode(31.0)
  5.  
  6.  
  7.  
  8.      NAME
  9.       AddDANode - add a new    entry to a DAList
  10.  
  11.      SYNOPSIS
  12.       newnode = AddDANode( Data, *DALst, Length, ID    )
  13.         D0            A0    A1     D0    D1
  14.  
  15.      FUNCTION
  16.       AddDANode() creates and adds a node to the DAList header
  17.       specified by caller.    All nodes created by this function are
  18.       DirectoryEntry nodes (see arpbase.[hi] header    for the
  19.       definition of    this structure).  The caller is    responsible
  20.       for freeing all nodes    allocated by this function.
  21.  
  22.      INPUTS
  23.       Data - Pointer to data to be copied to de_Name field of the
  24.           new node. See    Length parameter.
  25.  
  26.       DALst     - Address of a    DA list    header for this    node.
  27.  
  28.       Length - If 0, Data is assumed to be a null terminated
  29.           string. Otherwise, Length gives the amount of    memory
  30.           to copy to the de_Name field.
  31.  
  32.       ID - ID is the secondary sort    key/type code. This will be
  33.           the de_Type variable of the new node.
  34.  
  35.      RESULT
  36.       newnode - A pointer to the node just added to    the DAList,
  37.           else NULL, if    an error occured.
  38.  
  39.      BUGS
  40.       None known.
  41.  
  42.      SEE ALSO
  43.       FreeDAList(),    DosFreeMem(), Tracking functions.
  44.  
  45.      AUTHOR
  46.       CDH
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                         (printed 2/22/88)
  64.  
  65.  
  66.  
  67.